package com.kgc.airquality.service;

import com.kgc.airquality.mapper.DistrictMapper;
import com.kgc.airquality.pojo.District;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class DistrictServiceImpl implements DistrictService {
@Resource
    DistrictMapper districtMapper;
    @Override
    public List<District> seleAll() {
        return districtMapper.selectByExample(null);
    }
}
